TQ_username= "cc9200"
TQ_password= "cc9200"
IDtoMiniprice={
                       "rb":1,"zn":5,"ag":1,"bu":1,"sp":2,"ss":10,"fu":1,'ru':5,  #上海
                        "i":0.5,"m":1,"p":2,"eg":1,"l":1,"v":1,"pg":1,"c":1,#大连
                        "SR":1,"TA":2,"SA":2,"FG":1,'CF':5,"MA":1,"RM":1,"SH":1,#郑州
                        "lu":1,"OI":1,"sc":0.1,#能源
                },
IDtoRatio={#品种杠杆
                "rb":10,"zn":5,"ag":15,"bu":10,"sp":10,"ss":10,"fu":10,'ru':10,  #上海
                "i":100,"m":10,"p":10,"eg":10,"l":5,"v":5,"pg":20,"c":10,#大连
                "SR":10,"TA":5,"SA":20,"FG":20,'CF':5,"MA":10,"OI":10,"SH":10,#郑州
                "lu":10,"sc":1000,#能源
        },
instrumenID_dc={
            "rb": {"exchange": "SHFE", "miniPrice": 1, "Ratio": 10, "IDdate": "2501"}, 
            "zn": {"exchange": "SHFE", "miniPrice": 5, "Ratio": 5, "IDdate": "2501"}, 
            "ag": {"exchange": "SHFE", "miniPrice": 1, "Ratio": 15, "IDdate": "2501"}, 
            "bu": {"exchange": "SHFE", "miniPrice": 1, "Ratio": 10, "IDdate": "2501"}, 
            "sp": {"exchange": "SHFE", "miniPrice": 2, "Ratio": 10, "IDdate": "2501"}, 
            "fu": {"exchange": "SHFE", "miniPrice": 1, "Ratio": 10, "IDdate": "2501"}, 
            "ru": {"exchange": "SHFE", "miniPrice": 5, "Ratio": 10, "IDdate": "2501"}, 

            "v": {"exchange": "DCE", "miniPrice": 1, "Ratio": 5, "IDdate": "2501"}, 
            "p": {"exchange": "DCE", "miniPrice": 2, "Ratio": 10, "IDdate": "2501"},  
            
            "SR": {"exchange": "CZCE", "miniPrice": 1, "Ratio": 10, "IDdate": "501"}, 
            "SA": {"exchange": "CZCE", "miniPrice": 1, "Ratio": 20, "IDdate": "501"}, 
            "SH": {"exchange": "CZCE", "miniPrice": 1, "Ratio": 30, "IDdate": "501"}, 
            "TA": {"exchange": "CZCE", "miniPrice": 2, "Ratio": 10, "IDdate": "501"},
            "RM": {"exchange": "CZCE", "miniPrice": 1, "Ratio": 10, "IDdate": "501"},    
            }
